package org.inspursc.s0517.health.evaluation.dto;

import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author B_Dream
 * @version 2018/5/18 15:03
 */
@Data
public class SurveyDTO  implements Serializable {

    private Integer id;

    /**
     * 问卷名称
     */
    @NotEmpty(message = "问卷名字不能为空")
    private String suName;


    /**
     * 问卷说明
     */
    private String description;

    /**
     * 问卷只读
     */
    private Boolean readOnly;

    /**
     * 是否可用
     */
    private Boolean disabled;

    /**
     * 创建时间
     */
    private Date createDate = new Date();

    /**
     * 二级分类跳转顺序(2018-7-17)
     */
    private List<String> categoryOrder;

    /**
     * 问题Id
     */
    private List<Integer> questionIds ;

    private int typeId; //for distinguish
}
